package org.infodavid.common.model.criteria;

/**
 * The Interface IUserSessionCriteria.
 */
public interface IUserSessionCriteria extends IPaginatedSearchCriteria, ISortCriteria {

  /**
   * Gets the user key.
   * @return the user key
   */
  Long getUserKey();

  /**
   * Sets the user key. If null, condition is ignored.
   * @param value the user key
   */
  void setUserKey(Long value);

  /**
   * Checks if is expired.
   * @return the boolean
   */
  Boolean isExpired();

  /**
   * Sets the expired.
   * @param flag the new expired
   */
  void setExpired(Boolean flag);
}
